package com.vip.seata.at.business.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "storage-service")
public interface StorageFeign {

    @PostMapping("/storage/deduct")
    void deduct(@RequestParam String commodityCode, @RequestParam int count);

}